package com.desksoft.entity.mapper;

import com.desksoft.dao.SqlMapper;
import com.desksoft.entity.User;

public interface UserMapper extends SqlMapper {

	/**
	 * 注册
	 * @param u
	 */
	public void insertUser(User u);

	/**
	 * 登陆
	 * @param u
	 * @return
	 */
	public User loginUser(User u);
	
	/**
	 * 验证用户是否存在
	 * @param u
	 * @return
	 */
	public Integer isExistUser(User u);
}
